package com.bootdo.mall_part.service;

import com.bootdo.mall_part.domain.MallHousePlot;

import java.util.List;
import java.util.Map;
import com.bootdo.mall_part.dao.MallHousePlotDao;
import com.bootdo.system.domain.UserDO;

/**
 * 
 * 
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-11-09 10:12:48
 */
public interface MallHousePlotService extends MallHousePlotDao{
/**
	MallHousePlot get(Long id);
	
	List<MallHousePlot> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(MallHousePlot mallHousePlot);
	
	int update(MallHousePlot mallHousePlot);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids); */

	int saveSelfAndUser(UserDO userDO, MallHousePlot mallHousePlot, boolean houseFlag);

	int addManager(MallHousePlot mallHousePlot, UserDO userDO, boolean houseFlag);
}
